package com.neusoft.yiyang.care.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "task-service")
public interface TaskClient {

    // 通知任务服务客户护理项目变更
    @PostMapping("/tasks/customer-updated")
    void handleCustomerUpdate(
            @RequestParam("customerId") Integer customerId);
}